{include header}
<div class="wrapper">
    {include header_menu}
    <style>
.control-label,.help-block{
	
}
    </style>
    <script type="text/javascript">
    function save_op(){
    	var data = $("#save_op").serialize();
        $.ajax({
            url:window.location.href,
            type:'post',
            data:data,
            dataType:'json',
            success:function(e){
                if(e.error){
                    swal('成功',e.info,'success');
                }
                else{
                    swal('错误',e.info,'error');
                }
            },
            error:function(){
                swal('失败','访问本地服务器出错.','error');
            }

        })
    	return false;
    }
    </script>
    <div class="main-container">
        <div class="padding-md">
            <h2 class="header-text">
				设置
				<span class="sub-header">
					Config
				</span>
			</h2>
			<form  method="POST" class="form-horizontal no-margin form-border" id="save_op" onsubmit="return save_op();">
			<div class="smart-widget">
				<div class="smart-widget-inner">
					<ul class="nav nav-tabs tab-style2">
						<li class="active">
					  		<a href="#style2Tab1" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-bar-chart-o"></i></span>
					  			<span class="text-wrapper">基本设置</span>
					  		</a>
					  	</li>
					  	<li>
					  		<a href="#user" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-user"></i></span>
					  			<span class="text-wrapper">用户操作相关</span>
					  		</a>
					  	</li>
					  	<li class="">
					  		<a href="#style2Tab2" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-book"></i></span>
					  			<span class="text-wrapper">主题与帖子相关</span>
					  		</a>
					  	</li>
					  	<li>
					  		<a href="#style2Tab5" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-street-view"></i></span>
					  			<span class="text-wrapper">用户发帖相关</span>
					  		</a>
					  	</li>
					  	<li>
					  		<a href="#style2Tab6" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-upload"></i></span>
					  			<span class="text-wrapper">上传设置</span>
					  		</a>
					  	</li>
					  	<li>
					  		<a href="#style2Tab7" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-at"></i></span>
					  			<span class="text-wrapper">邮箱设置</span>
					  		</a>
					  	</li>
					  	<li>
					  		<a href="#style2Tab8" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-database"></i></span>
					  			<span class="text-wrapper">数据缓存&内存</span>
					  		</a>
					  	</li>
					  	<li>
					  		<a href="#style2Tab9" data-toggle="tab">
					  			<span class="icon-wrapper"><i class="fa fa-bug"></i></span>
					  			<span class="text-wrapper">调试相关</span>
					  		</a>
					  	</li>
					</ul>
					<div class="smart-widget-body">
						<div class="tab-content">
							<div class="tab-pane fade  active in" id="style2Tab1">
								<div class="form-group">
									<label class="col-lg-2 control-label">网站授权秘钥</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="key" value="{$conf.key}">
										<span class="help-block">网站授权秘钥KEY,申请地址: http://app.hyphp.cn</span>
									</div>
								</div>

								<div class="form-group">
									<label class="col-lg-2 control-label">网站标题</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="title" value="{$conf.title}">
										<span class="help-block">这是你的首页标题.</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">网站LOGO文字</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="logo" value="{$conf.logo}">
										<span class="help-block">在模板中显示的LOGO 文字.</span>
									</div>
								</div>
	                            <div class="form-group">
									<label class="col-lg-2 control-label">网站关键字</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="keywords" value="{$conf.keywords}">
										<span class="help-block">这将是你的首页keyword.</span>
									</div>
								</div>
	                            <div class="form-group">
									<label class="col-lg-2 control-label">网站描述</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="de" value="{$conf.description}">
										<span class="help-block">这将是你的首页description.</span>
									</div>
								</div>
	                            <div class="form-group">
									<label class="col-lg-2 control-label">网站标题尾巴</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="title2" value="{$conf.title2}">
										<span class="help-block">每个页面的标题后缀</span>
									</div>
								</div>

								
							</div>
							<div class="tab-pane fade" id="user">
								<div class="form-group">
									<label class="col-lg-2 control-label">开启用户修改用户名</label>
									<div class="col-lg-10">
										<div class="checkbox inline-block">
											<div class="custom-checkbox">
												<input type="checkbox" name="on_edit_user" id="on-edit-user" class="checkbox-red" {if $conf['on_edit_user']}checked="checked"{/if}>
												<label for="on-edit-user"></label>
											</div>
											<div class="inline-block vertical-top">
												允许用户在个人中心修改用户名
											</div>
										</div>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">注册账号敏感词</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="user_have_badword" value="{$conf.user_have_badword}">
										<span class="help-block">禁止用户账号携带敏感词注册,每个词请用小写,号分隔</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">找回密码邮件标题</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="emailtitle" value="{$conf.emailtitle}">
										<span class="help-block">发送找回密码邮件给用户时,邮件标题名称从此项获取 默认为: HYBBS找回密码验证码邮件</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">发送找回密码邮箱模板</label>
									<div class="col-lg-10">
										<textarea  class="form-control" name="emailcontent">{$conf.emailcontent}</textarea>
										<span class="help-block">请根据默认的内容去修改! 需要注意%s, 第一个%s会转换为用户名 第二个%s将是验证码. 模板支持HTML代码</span>
									</div>
								</div>

								<div class="form-group">
									<label class="col-lg-2 control-label">找回密码间隔</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="send_email_s" value="{$conf.send_email_s}">
										<span class="help-block">发送邮件找回密码 间隔时间(秒)</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">离线判断</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="out_s" value="{$conf.out_s}">
										<span class="help-block">超出N秒不访问论坛 判断为离线，建议设置为300.  则是5分钟不访问则判断为离线用户</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">系统提示音</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="mp3_system" value="{$conf.mp3_system}">
										<span class="help-block">系统消息提示音路径, 默认:public/mp3/system.mp3</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">好友提示音</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="mp3_friend" value="{$conf.mp3_friend}">
										<span class="help-block">好友消息提示音路径, 默认:public/mp3/msg.mp3</span>
									</div>
								</div>

							</div>
							<div class="tab-pane fade" id="style2Tab2">
								<div class="form-group">
									<label class="col-lg-2 control-label">发表帖子标题最大长度</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="titlesize" value="{$conf.titlesize}">
										<span class="help-block">在发表主题当中,允许用户发表的标题长度,默认使用 : 128</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">发表帖子标题最小长度</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="titlemin" value="{$conf.titlemin}">
										<span class="help-block">在发表主题当中,标题长度必须超过多少位,默认使用 : 5</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">摘要保留长度</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="summary_size" value="{$conf.summary_size}">
										<span class="help-block">将帖子内容去掉HTML格式 保留纯文本, 最终从纯文本中得到相应长度的内容作为摘要. 默认: 200</span>
									</div>
								</div>




								<div class="form-group">
									<label class="col-lg-2 control-label">首页显示主题个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="homelist" value="{$conf.homelist}">
										<span class="help-block">在首页中每页显示的主题数目默认为:10</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">板块显示主题个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="forumlist" value="{$conf.forumlist}">
										<span class="help-block">在分类板块中每页显示的主题数目 默认为:10</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">主题页评论显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="postlist" value="{$conf.postlist}">
										<span class="help-block">主题内页中 每页显示评论个数</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">子评论显示数量</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="post_post_show_size" value="{$conf.post_post_show_size}">
										<span class="help-block"></span>
									</div>
								</div>

								<div class="form-group">
									<label class="col-lg-2 control-label">搜索页面每页显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="searchlist" value="{$conf.searchlist}">
										<span class="help-block">搜索页面中,每页显示的搜索个数,默认:10</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">搜索关键字长度限制</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="search_key_size" value="{$conf.search_key_size}">
										<span class="help-block">搜索关键字最大长度限制 默认: 2</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">后台 - 分类页面显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="adminforum" value="{$conf.adminforum}">
										<span class="help-block">在管理后台-分类管理中,每页显示多少个分类, 默认:10</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">后台 - 主题管理显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="adminthread" value="{$conf.adminthread}">
										<span class="help-block"></span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">后台 - 评论管理显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="admin_show_post" value="{$conf.admin_show_post}">
										<span class="help-block"></span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">后台 - 子评论管理显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="admin_show_post_post" value="{$conf.admin_show_post_post}">
										<span class="help-block"></span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">后台 - 用户管理显示个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="adminuser" value="{$conf.adminuser}">
										<span class="help-block"></span>
									</div>
								</div>
							</div>
							
							<!-- 帖子相关 -->
							<div class="tab-pane fade" id="style2Tab5">
								<div class="form-group">
									<label class="col-lg-2 control-label">发表主题增加金钱数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="gold_thread" value="{$conf.gold_thread}">
										<span class="help-block">用户发表主题增加金钱数</span>
									</div>
								</div>
	                            <div class="form-group">
									<label class="col-lg-2 control-label">回复增加金钱数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="gold_post" value="{$conf.gold_post}">
										<span class="help-block">用户回复增加金钱数</span>
									</div>
								</div>

								<div class="form-group">
									<label class="col-lg-2 control-label">发表主题增加积分</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="credits_thread" value="{$conf.credits_thread}">
										<span class="help-block">用户积分仅用于用户组升级以及后续额外功能</span>
									</div>
								</div>
	                            <div class="form-group">
									<label class="col-lg-2 control-label">回复增加积分</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="credits_post" value="{$conf.credits_post}">
										<span class="help-block">同上</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">主题加精增加金钱</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="gold_digest" value="{$conf.gold_digest}">
										<span class="help-block">取消加精会扣除</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">主题加精增加积分</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="credits_digest" value="{$conf.credits_digest}">
										<span class="help-block">同上</span>
									</div>
								</div>
								
							</div>
							<!-- 上传设置 -->
							<div class="tab-pane fade" id="style2Tab6">
								<div class="form-group">
									<label class="col-lg-2 control-label">帖子图片列表保存个数</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="post_image_size" value="{$conf.post_image_size}">
										<span class="help-block">储存展示缩略图个数, 如果模板有该功能</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">图片上传允许格式</label>
									<div class="col-lg-10">
										
										
										<input class="form-control" type="text" name="uploadimageext" value="{$conf.uploadimageext}">
										<span class="help-block">请用 , 隔开</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">图片上传大小限制</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="uploadimagemax" value="{$conf.uploadimagemax}">
										<span class="help-block">单位（ M ）.如输入3 则限制3M以下图片上传,输入0为无限制大小 , 如果是单位kb以下 请输入小数点 0.1 = 100kb</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">附件上传允许格式</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="uploadfileext" value="{$conf.uploadfileext}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">附件上传大小限制</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="uploadfilemax" value="{$conf.uploadfilemax}">
										<span class="help-block">单位（ M ）.如输入3 则限制3M以下附件上传，输入0为无限制大小</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">允许上传视频</label>
									<div class="col-lg-10">
										<div class="checkbox inline-block">
											<div class="custom-checkbox">
												<input type="checkbox" name="allow_upload_video" id="allow-upload-video" class="checkbox-red" {if $conf['allow_upload_video']}checked="checked"{/if}>
												<label for="allow-upload-video"></label>
											</div>
											<div class="inline-block vertical-top">
												视频资源比较消耗资源，请确认您的服务器能承受这些资源！
											</div>
										</div>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">视频上传允许格式</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="upload_video_ext" value="{$conf.upload_video_ext}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">视频上传大小限制</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="upload_video_size" value="{$conf.upload_video_size}">
										<span class="help-block">单位（ M ）.如输入3 则限制3M以下视频上传，输入0为无限制大小</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">允许上传音频</label>
									<div class="col-lg-10">
										<div class="checkbox inline-block">
											<div class="custom-checkbox">
												<input type="checkbox" name="allow_upload_audio" id="allow-upload-audio" class="checkbox-red" {if $conf['allow_upload_audio']}checked="checked"{/if}>
												<label for="allow-upload-audio"></label>
											</div>
											<div class="inline-block vertical-top">
												音频资源比较消耗资源，请确认您的服务器能承受这些资源！
											</div>
										</div>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">音频上传允许格式</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="upload_audio_ext" value="{$conf.upload_audio_ext}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">音频上传大小限制</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="upload_audio_size" value="{$conf.upload_audio_size}">
										<span class="help-block">单位（ M ）.如输入3 则限制3M以下音频上传，输入0为无限制大小</span>
									</div>
								</div>
								<h4>当前PHP.ini配置上传文件最大字节：<label class="label label-success">{php echo ini_get('upload_max_filesize')}</label> 与 POST提交字节最大限制为：<label class="label label-success">{php echo ini_get('post_max_size')}</label></h4><hr><h4>特别提醒，你在本页配置的限制只是局部的，全局控制上传大小在php.ini中修改！ 可在网上搜索一下 php.ini 上传大小限制</h4>
								<hr>PHP.ini <h4>upload_max_filesize : <label class="label label-success">{php echo ini_get('upload_max_filesize')}</label> </h4><h4>post_max_size : <label class="label label-success">{php echo ini_get('post_max_size')}</label></h4>
							</div>
							<!-- 邮箱设置 -->
							<div class="tab-pane fade" id="style2Tab7">
								<div class="form-group">
									<label class="col-lg-2 control-label">SMTP服务器地址</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="emailhost" value="{$conf.emailhost}">
										<span class="help-block">这是你的服务器SMTP地址</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">SMTP服务器端口</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="emailport" value="{$conf.emailport}">
										<span class="help-block">一般默认为:25</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">邮箱账号</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="emailuser" value="{$conf.emailuser}">
										<span class="help-block">这是你的邮箱验证账号</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">邮箱密码</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="emailpass" value="{$conf.emailpass}">
										<span class="help-block">现在使用SMTP的邮箱大多都采用了授权码,这里填写你的邮箱授权码,如果没有此类功能,请填写邮箱密码</span>
									</div>
								</div>
							</div>
							<!-- 缓存 -->
							<div class="tab-pane fade" id="style2Tab8">
								<div class="form-group">
									<label class="col-lg-2 control-label">缓存类型</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_type" value="{$conf.cache_type}">
										<span class="help-block">目前支持: Apachenote, Apc, db, file, Eacceleratpr, Memcache, Memcached, Redis, Shmop, Wincache, Xcache , 请选择一款你服务器支持的缓存扩展. </span>
										<span class="help-block">效率比较: File < DB < 内存缓存</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">DB缓存表</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_table" value="{$conf.cache_table}">
										<span class="help-block">当你使用DB缓存时,此项将生效. 输入一个数据表作为缓存表. 默认: cache (不建议更改)</span>
										
									</div>
								</div>
								
								<div class="form-group">
									<label class="col-lg-2 control-label">缓存加密KEY</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_key" value="{$conf.cache_key}">
										<span class="help-block">只有缓存类型为File才生效,主要用于加密缓存文件名,你可以随便输入几个字符保存即可!</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">缓存过期时间(秒)</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_time" value="{$conf.cache_time}">
										<span class="help-block">缓存的过期时间，输入0等于无限制缓存！</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">缓存前缀</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_pr" value="{$conf.cache_pr}">
										<span class="help-block">默认为空 , 不建议修改</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">缓存数据压缩</label>
									<div class="col-lg-10">
										<div class="checkbox inline-block">
											<div class="custom-checkbox">
												<input type="checkbox" name="cache_ys" id="inlineCheckbox1" class="checkbox-red" {if $conf['cache_ys'] == 'on'}checked="checked"{/if}>
												<label for="inlineCheckbox1"></label>
											</div>
											<div class="inline-block vertical-top">
												压缩缓存数据
											</div>
										</div>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">缓存服务器连接超时(秒)</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_outtime" value="{$conf.cache_outtime}">
										<span class="help-block">当使用缓存服务器时生效,连接缓存服务器超时时间</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">Redis 服务器地址</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_redis_ip" value="{$conf.cache_redis_ip}">
										<span class="help-block">当你的缓存类型为Redis时使用</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">Redis 服务器端口</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_redis_port" value="{$conf.cache_redis_port}">
										<span class="help-block">当你的缓存类型为Redis时使用</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">Memcache 服务器地址</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_mem_ip" value="{$conf.cache_mem_ip}">
										<span class="help-block">当你的缓存类型为Memcache时使用</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">Memcache 服务器端口</label>
									<div class="col-lg-10">
										<input class="form-control" type="text" name="cache_mem_port" value="{$conf.cache_mem_port}">
										<span class="help-block">当你的缓存类型为Memcache时使用</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">Memcached 服务器分布IP</label>
									<div class="col-lg-10">
										<textarea rows="4" name="cache_memd_ip" class="form-control">{$conf.cache_memd_ip}</textarea>
										<span class="help-block">Memcache 负载均衡,多台服务器配置,参数配置: IP:端口:调用权重, 多台换行配置 例: 127.0.0.1:11211:33</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-2 control-label">Memcached 配置参数</label>
									<div class="col-lg-10">
										请到Config.php 手动配置 MEMCACHED_LIB
									</div>
								</div>


							</div>
							<div class="tab-pane fade" id="style2Tab9">
								<div class="form-group">
									<label class="col-lg-2 control-label">右下角调试窗口</label>
									<div class="col-lg-10">
										<div class="checkbox inline-block">
											<div class="custom-checkbox">
												<input type="checkbox" name="debug_page" id="inlineCheckbox3" class="checkbox-red" {if $conf['debug_page']}checked="checked"{/if}>
												<label for="inlineCheckbox3"></label>
											</div>
											<div class="inline-block vertical-top">
												显示右下角调试小窗口，网站上线请关闭
											</div>
										</div>
									</div>
								</div>
	                            <div class="form-group">
									<label class="col-lg-2 control-label">开启DEBUG模式</label>
									<div class="col-lg-10">
										<div class="checkbox inline-block">
											<div class="custom-checkbox">
												<input type="checkbox" name="debug" id="inlineCheckbox4" class="checkbox-red" {if $conf['debug']}checked="checked"{/if}>
												<label for="inlineCheckbox4"></label>
											</div>
											<div class="inline-block vertical-top">
												打开论坛调试模式，开启后将得到详细的PHP警告与错误信息，但他会让你的论坛降低两倍运行速度，网站上线后，请关闭该功能！
											</div>
										</div>
									</div>
								</div>
								
							</div>

						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
								<label class="col-lg-2 control-label"></label>
								<div class="col-lg-10">
									
									<button type="submit" class="btn btn-success">保存配置</button>

								</div><!-- /.col -->
							</div>
			</form>
            
        </div>
    </div>
    {include left_menu}

{include footer}
